package docker

// docker stack 部署，集群部署

/*

	docker-compose 单机部署项目
		docker-compose up -d filename.yml

	docker stack 部署，集群部署
		docker stack --help
		docker stack deploy filename.yaml 注意查看写法

		百度搜索 docker stack 案例 注意deploy




root@VM-4-8-debian:/# docker stack --help

Usage:  docker stack [OPTIONS] COMMAND

Manage Docker stacks

Options:
      --orchestrator string   Orchestrator to use (swarm|kubernetes|all)

Commands:
  deploy      Deploy a new stack or update an existing stack
  ls          List stacks
  ps          List the tasks in the stack
  rm          Remove one or more stacks
  services    List the services in the stack

Run 'docker stack COMMAND --help' for more information on a command.
root@VM-4-8-debian:/#




*/
